# 学生信息录入案例练习
# 定义学生类


class Student:
    name = None
    age = None
    add = None

    def __init__(self):
        self.name = input("请输入学生姓名:")
        self.age = input("请输入学生年龄:")
        self.add = input("请输入学生地址:")

N = 10
stu_dict = {}
stu_sublist = []
for i in range(N):
    print(f"当前录入第{i+1}位学生信息,总共需要录入{N}位学生信息")
    stu = Student()
    print(f"学生{i+1}信息录入完成，信息为:[学生姓名:{stu.name},年龄:{stu.age},地址:{stu.add}]")
    stu_sublist = [stu.name,stu.age,stu.add]
    stu_dict[f"学生{i + 1}"] = stu_sublist

print(stu_dict)
